package com.czh.springboot04.service;

import com.czh.springboot04.entity.Reply;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReplyService {
    int addReply(Reply reply);
    int deleteReply(int id);
    int updateReply(Reply reply);
    PageInfo<Reply> findAll(int pageNum, int pageSize,Reply reply);
    List<Reply> findById(int id);
    List<Reply> findByQid(int qiestionId);
}
